package com.bootdo.system.dto;

public class ProductDto {
	private int id;
	private String name;//商品名称
	private double price;//售价
	private String valid_purchasing_quantity;//合法的购买数量
	private String superior_commissions_rate;//上级佣金比例
	private int type;//商品类型（1：充值，2：卡密，3：选号，4：租号）
	private int stock_state;//库存状态（1：充足，2：断货）
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getValid_purchasing_quantity() {
		return valid_purchasing_quantity;
	}
	public void setValid_purchasing_quantity(String valid_purchasing_quantity) {
		this.valid_purchasing_quantity = valid_purchasing_quantity;
	}
	public String getSuperior_commissions_rate() {
		return superior_commissions_rate;
	}
	public void setSuperior_commissions_rate(String superior_commissions_rate) {
		this.superior_commissions_rate = superior_commissions_rate;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getStock_state() {
		return stock_state;
	}
	public void setStock_state(int stock_state) {
		this.stock_state = stock_state;
	}
	@Override
	public String toString() {
		return "ProductDto [id=" + id + ", name=" + name + ", price=" + price + ", valid_purchasing_quantity="
				+ valid_purchasing_quantity + ", superior_commissions_rate=" + superior_commissions_rate + ", type="
				+ type + ", stock_state=" + stock_state + "]";
	}
	 	 	
	 	 	
	 	 	
	 	 	

}
